﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="buyer_deviateCollect.aspx.cs"
    Inherits="PeisongWeb.buyer_deviateCollect" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>采购配送系统-偏差汇总</title>
    <!--#include file="../global.inc" -->
    <script src="/app_common/scripts/jquery-latest.pack.js" type="text/javascript"></script>
    <script src="/fromjs/fillscreenFix.js" type="text/javascript"></script>
    <script type="text/javascript">
        function resetSrh() {
            document.getElementById("txt_orderNo").value = "";
            document.getElementById("ext_StartInputDt").value = "";
            document.getElementById("ext_EndInputDt").value = "";
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <div id="container">
        <uc1:headerV2 runat="server" ID="header1" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">偏差汇总</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="search_list">
                        <div class="search_title">
                            <span>订单搜索</span>
                        </div>
                        <div class="listsearch">
                            <ul>
                                <li>订单编号：
                                    <input name="userName_login" type="text" runat="server" id="txt_orderNo" />
                                </li>
                                <li>
                                    <label>
                                        日期：
                                    </label>
                                    <ext:DateField ID="ext_StartInputDt" runat="server" AllowBlank="true" ReadOnly="true" />
                                    &nbsp;&nbsp; </li>
                                <li>
                                    <label>
                                        至
                                    </label>
                                    <ext:DateField ID="ext_EndInputDt" runat="server" AllowBlank="true" ReadOnly="true" />
                                    &nbsp;&nbsp; </li>
                                <li>
                                    <asp:Button CssClass="button_round" runat="server" ID="btn_select" Text="查 询" OnClick="btn_select_Click" />
                                </li>
                                <li>
                                    <input class="button_round" type="button" value="重 置" id="btn_reset" onclick="resetSrh()" />
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="list_content">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr class="list_title">
                                <td width="20%">
                                    日期
                                </td>
                                <td width="30%">
                                    商品名称
                                </td>
                                <td width="20%">
                                    订单编号
                                </td>
                                <td width="15%">
                                    原始订量
                                </td>
                                <td width="15%">
                                    实际送货量
                                </td>
                            </tr>
                        </table>
                        <table border="0" cellspacing="0" cellpadding="0" class="list_border">
                            <asp:Repeater ID="rpt_list" runat="server">
                                <ItemTemplate>
                                    <tr class='<%# Container.ItemIndex%2==0?"":"tr_color"  %>'>
                                        <td width="20%">
                                            <%# Eval("inputDt")%>
                                        </td>
                                        <td width="30%">
                                            <%#Eval("proName")%>
                                        </td>
                                        <td width="20%">
                                            <%# Eval("orderno")%>
                                        </td>
                                        <td width="15%">
                                            <%# Eval("initQuantity")%><%# Eval("unit")%>
                                        </td>
                                        <td width="15%">
                                            <%# Eval("quantity")%><%# Eval("unit")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>
                    <div class="page">
                        <webdiyer:AspNetPager ID="AspNetPager1" NumericButtonType="Text" MoreButtonType="Text"
                            AlwaysShow="true" Width="98%" runat="server" PageSize="15" InvalidPageIndexErrorMessage="无效页码"
                            NumericButtonCount="5" PageIndexOutOfRangeErrorMessage="页码超出范围" ShowCustomInfoSection="Left"
                            CustomInfoHTML=" 每页%PageSize%条记录 | 总共%RecordCount%条记录 " CustomInfoTextAlign="Left"
                            HorizontalAlign="Right" OnPageChanged="AspNetPager1_PageChanged" NextPageText=">"
                            FirstPageText="<<首页" LastPageText="末页>>" PrevPageText="<" CssClass="paginator"
                            CurrentPageButtonClass="cpb">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 runat="server" ID="footer1" />
    </div>
    </form>
</body>
</html>
